NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation.

Technical Q&A QTMTB16
SetMovieDrawingCompleteProc

SetMovieDrawingCompleteProc lets you set a callback procedure that is called after a movie has drawn in one or more of its tracks. In this way, your application can be aware of when QuickTime has drawn frames and when it hasn't. This information is very useful when combined with SetTrackGWorld (see below).

pascal void SetMovieDrawingCompleteProc(Movie theMovie,
MovieDrawingCompleteProcPtr proc, long refCon)

theMovie The Movie to set the proc on.

proc Your call back procedure, or nil to remove it.

refCon Value to pass to your callback procedure.

typedef pascal OSErr (*MovieDrawingCompleteProcPtr)(Movie theMovie, long refCon);

Errors:
invalidMovie -2010 Your movie reference is bad.

[May 01 1995]


Developer Documentation | Technical Notes | Development Kits | Sample Code